home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Now 11 / CD-ROM Now MegaDisc 11 (1995-02).iso / discs / internet / unix6.txt < prev    next >
Encoding:
Internet Message Format  |  1994-10-27  |  37.8 KB

  1. Path: bloom-beacon.mit.edu!senator-bedfellow.mit.edu!faqserv
  2. From: tmatimar@isgtec.com (Ted Timar)
  3. Newsgroups: comp.unix.questions,comp.unix.shell,comp.answers,news.answers
  4. Subject: Unix - Frequently Asked Questions (6/7) [Frequent posting]
  5. Supersedes: <unix-faq/faq/part6_779635319@rtfm.mit.edu>
  6. Followup-To: comp.unix.questions
  7. Date: 23 Sep 1994 19:34:46 GMT
  8. Organization: ISG Technologies, Inc
  9. Lines: 896
  10. Approved: news-answers-request@MIT.Edu
  11. Distribution: world
  12. Expires: 21 Oct 1994 19:25:02 GMT
  13. Message-ID: <unix-faq/faq/part6_780348302@rtfm.mit.edu>
  14. References: <unix-faq/faq/contents_780348302@rtfm.mit.edu>
  15. NNTP-Posting-Host: bloom-picayune.mit.edu
  16. X-Last-Updated: 1994/09/08
  17. Originator: faqserv@bloom-picayune.MIT.EDU
  18. Xref: bloom-beacon.mit.edu comp.unix.questions:32521 comp.unix.shell:13052 comp.answers:7428 news.answers:26212
  19.  
  20. Archive-name: unix-faq/faq/part6
  21. Version: $Id: part6,v 2.5 1994/04/28 19:25:03 tmatimar Exp tmatimar $
  22.  
  23. These seven articles contain the answers to some Frequently Asked
  24. Questions often seen in comp.unix.questions and comp.unix.shell.
  25. Please don't ask these questions again, they've been answered plenty
  26. of times already - and please don't flame someone just because they may
  27. not have read this particular posting.  Thank you.
  28.  
  29. This collection of documents is Copyright (c) 1994, Ted Timar, except
  30. Part 6, which is Copyright (c) 1994, Pierre Lewis and Ted Timar.
  31. All rights reserved.  Permission to distribute the collection is
  32. hereby granted providing that distribution is electronic, no money
  33. is involved, reasonable attempts are made to use the latest version
  34. and all credits and this copyright notice are maintained.
  35. Other requests for distribution will be considered.  All reasonable
  36. requests will be granted.
  37.  
  38. All information here has been contributed with good intentions, but
  39. none of it is guaranteed either by the contributors or myself to be
  40. accurate.  The users of this information take all responsibility for
  41. any damage that may occur.
  42.  
  43. Many FAQs, including this one, are available on the archive site
  44. rtfm.mit.edu in the directory pub/usenet/news.answers.
  45. The name under which a FAQ is archived appears in the "Archive-Name:"
  46. line at the top of the article.  This FAQ is archived as
  47. "unix-faq/faq/part[1-7]".
  48.  
  49. These articles are divided approximately as follows:
  50.  
  51.       1.*) General questions.
  52.       2.*) Relatively basic questions, likely to be asked by beginners.
  53.       3.*) Intermediate questions.
  54.       4.*) Advanced questions, likely to be asked by people who thought
  55.            they already knew all of the answers.
  56.       5.*) Questions pertaining to the various shells, and the differences.
  57.       6.*) An overview of Unix variants.
  58.       7.*) An comparison of configuration management systems (RCS, SCCS).
  59.  
  60. This article includes answers to:
  61.  
  62.       6.1)  Disclaimer, introduction and acknowledgements.
  63.       6.2)  A very brief look at Unix history.
  64.       6.3)  Main Unix flavors.
  65.       6.4)  Unix Standards.
  66.       6.5)  Identifying your Unix flavor.
  67.       6.6)  Brief notes on some well-known (commercial/PD) Unices.
  68.       6.7)  Real-time Unices.
  69.       6.8)  Unix glossary.
  70.  
  71. If you're looking for the answer to, say, question 6.5, and want to skip
  72. everything else, you can search ahead for the regular expression "^6.5)".
  73.  
  74. While these are all legitimate questions, they seem to crop up in
  75. comp.unix.questions or comp.unix.shell on an annual basis, usually
  76. followed by plenty of replies (only some of which are correct) and then
  77. a period of griping about how the same questions keep coming up.  You
  78. may also like to read the monthly article "Answers to Frequently Asked
  79. Questions" in the newsgroup "news.announce.newusers", which will tell
  80. you what "UNIX" stands for.
  81.  
  82. With the variety of Unix systems in the world, it's hard to guarantee
  83. that these answers will work everywhere.  Read your local manual pages
  84. before trying anything suggested here.  If you have suggestions or
  85. corrections for any of these answers, please send them to to
  86. tmatimar@isgtec.com.
  87.  
  88. ----------------------------------------------------------------------
  89.  
  90. Subject: Disclaimer, introduction and acknowledgements.
  91. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  92. Date: Mon May 30 15:44:28 EDT 1994
  93. X-Version: 2.6
  94.  
  95. 6.1)  Disclaimer, introduction and acknowledgements.
  96.  
  97.       The following is offered with no guarantee as to accuracy or
  98.       completeness.  I have done what I can in the time available,
  99.       often with conflicting information, and it still is very much work
  100.       in progress.  I hope to keep improving this summary.  Comments and
  101.       corrections welcome:  lew@bnr.ca.
  102.  
  103.       First a short definition.  By Unix we mean an operating system
  104.       typically written in C, with a hierarchical file system,
  105.       integration of file and device I/O, whose system call interface
  106.       includes services such as fork(), pipe(), and whose user
  107.       interface includes tools such as cc, troff, grep, awk, and a
  108.       choice of shell.  Note that UNIX is a registered trademark of USL
  109.       (AT&T), but will be used here in its generic sense.
  110.  
  111.       Most Unices (the more common plural form) are derived more or
  112.       less directly from AT&T code (some code from the first C version
  113.       is presumably still left in most), but there are also clones
  114.       (i.e. Unix-compatible systems with no AT&T code).
  115.  
  116.       In addition, there are also Unix-like environments (e.g. VOS)
  117.       sitting on top of other OSs, and OSs inspired from Unix (yes,
  118.       even DOS!).  These are not covered here.  Little on real-time
  119.       Unices yet (although more is planned).
  120.  
  121.       Unix comes in an incredible variety of flavors.  This is to a
  122.       large extent due to availability of sources and the ease of
  123.       porting and modifying Unix.  Typically, a vendor of Unix will
  124.       start with one basic flavor (see below), take ideas/code from the
  125.       other major flavor, add and change many things, etc.  This
  126.       results in yet another new Unix flavor.  Today, there are
  127.       literally hundreds of Unices available, the closest thing to
  128.       standard Unix being (by definition) System V.
  129.  
  130.       This answer was put together mostly from information on the net
  131.       and email.  Some specific sources are also mentioned in the
  132.       appropriate sections.
  133.  
  134.       Acknowledgements: (in addition to references): pat@bnr.ca,
  135.       guy@auspex.com, pen@lysator.liu.se, mikes@ingres.com,
  136.       mjd@saul.cis.upenn.edu, root%candle.uucp@ls.com, ee@atbull.bull.co.at,
  137.       Aaron_Dailey@stortek.com, ralph@dci.pinetree.org, sbdah@mcshh.hanse.de,
  138.       macmach@andrew.cmu.edu, jwa@alw.nih.gov [4.4BSD], roeber@axpvms.cern.ch,
  139.       bob@pta.pyramid.com.au, bad@flatlin.ka.sub.org, m5@vail.tivoli.com,
  140.       dan@fch.wimsey.bc.ca, jlbrand@uswnvg.com, jpazer@usl.com,
  141.       ym@satelnet.org, merritt@gendev.slc.paramax.com, quinlan@yggdrasil.com,
  142.       steve@rudolph.ssd.csd.harris.com, bud@heinous.isca.uiowa.edu,
  143.       many that I forgot, and all the other
  144.       folks whose posts I read. Many thanks!
  145.  
  146. ------------------------------
  147.  
  148. Subject: A very brief look at Unix history.
  149. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  150. Date: Mon May 30 15:44:28 EDT 1994
  151. X-Version: 2.6
  152.  
  153. 6.2)  A very brief look at Unix history.
  154.  
  155.       Unix history goes back to 1969 and the famous "little-used PDP-7
  156.       in a corner" on which Ken Thompson, Dennis Ritchie (the R in K&R)
  157.       and others started work on what was to become Unix.  The name
  158.       "Unix" was intended as a pun on Multics (and was written "Unics"
  159.       at first -- UNiplexed Information and Computing System).
  160.  
  161.       For the first 10 years, Unix development was essentially confined
  162.       to Bell Labs.  These initial versions were labeled "Version n" or
  163.       "Nth Edition" (of the manuals), and were for DEC's PDP-11 (16
  164.       bits) and later VAXen (32 bits).  Some significant versions
  165.       include:
  166.  
  167.       V1 (1971):  1st Unix version, in assembler on a PDP-11/20.
  168.          Included file system, fork(), roff, ed.  Was used as a text
  169.          processing tool for preparation of patents.  Pipe() appeared
  170.          first in V2!
  171.  
  172.       V4 (1973):  Rewritten in C, which is probably the most
  173.          significant event in this OS's history: it means Unix can be
  174.          ported to a new hardware in months, and changes are easy.  The
  175.          C language was originally designed for the Unix operating
  176.          system, and hence there is a strong synergy between C and Unix.
  177.  
  178.       V6 (1975):  First version of Unix widely available outside
  179.          Bell Labs (esp.  in universities).  This was also the start of
  180.          Unix diversity and popularity.  1.xBSD (PDP-11) was derived
  181.          from this version.  J. Lions published "A commentary on the
  182.          Unix Operating System" based on V6.
  183.  
  184.       V7 (1979):  For many, this is the "last true Unix", an
  185.          "improvement over all preceding and following Unices"
  186.          [Bourne].  It included full K&R C, uucp, Bourne shell.  V7 was
  187.          ported to the VAX as 32V.  The V7 kernel was a mere 40
  188.          Kbytes!
  189.  
  190.          Here (for reference) are the system calls of V7:
  191.             _exit, access, acct, alarm, brk, chdir, chmod, chown,
  192.             chroot, close, creat, dup, dup2, exec*, exit, fork, fstat,
  193.             ftime, getegid, geteuid, getgid, getpid, getuid, gtty,
  194.             indir, ioctl, kill, link, lock, lseek, mknod, mount,
  195.             mpxcall, nice, open, pause, phys, pipe, pkoff, pkon,
  196.             profil, ptrace, read, sbrk, setgid, setuid, signal, stat,
  197.             stime, stty, sync, tell, time, times, umask, umount,
  198.             unlink, utime, wait, write.
  199.  
  200.       These Vn versions were developed by the Computer Research Group
  201.       (CRG) of Bell Labs.  Another group, the Unix System Group (USG),
  202.       was responsible for support.  A third group at Bell Labs was also
  203.       involved in Unix development, the Programmer's WorkBench (PWB),
  204.       to which we owe, for example, sccs, named pipes and other
  205.       important ideas.  Both groups were merged into Unix System
  206.       Development Lab in 1983.
  207.  
  208.       Another variant of Unix was CB Unix (Columbus Unix) from the Columbus
  209.       branch of Bell Labs, responsible of Operations Support Systems. Its
  210.       main contribution was parts of SV IPC.
  211.  
  212.       Work on Unix continued at Bell Labs in the 1980s.  The V series
  213.       was further developed by the CRG (Stroustrup mentions V10 in the
  214.       2nd edition of his book on C++), but we don't seem to hear much
  215.       about this otherwise.  The company now responsible for Unix
  216.       (System V) is called Unix System Laboratories (USL) and is
  217.       majority-owned by AT&T.  Novell has bought USL (early 93)?!
  218.       Novell has given rights to the "UNIX" trademark to X/Open (late 93).
  219.  
  220.       But much happened to Unix outside AT&T, especially at Berkeley
  221.       (where the other major flavor comes from).  Vendors (esp. of
  222.       workstations) also contributed much (e.g. Sun's NFS).
  223.  
  224.       The book "Life with Unix" by Don Libes and Sandy Ressler is
  225.       fascinating reading for anyone interested in Unix, and covers a
  226.       lot of the history, interactions, etc..  Much in the present
  227.       section is summarized from this book.
  228.  
  229. ------------------------------
  230.  
  231. Subject: Main Unix flavors.
  232. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  233. Date: Mon May 30 15:44:28 EDT 1994
  234. X-Version: 2.7
  235.  
  236. 6.3)  Main Unix flavors.
  237.  
  238.       Until recently, there were basically two main flavors of Unix:
  239.       System V (five) from AT&T, and the Berkeley Software Distribution
  240.       (BSD).  SVR4 is essentially a merge of these two flavors.  End
  241.       '91, OSF/1 from the Open Software Foundation was released (as a
  242.       direct competitor to System V) and may (future will tell) change
  243.       this picture.
  244.  
  245.       The following lists the main releases and features of System V,
  246.       BSD and OSF/1.
  247.  
  248.       System V from AT&T.  Typical of Intel hardware.  Most often
  249.          ported Unix, typically with BSD enhancements (csh, job
  250.          control, termcap, curses, vi, symbolic links).  System V
  251.          evolution is now overseen by Unix International (UI).  UI
  252.          members include AT&T, Sun, ....
  253.          Newsgroup: comp.unix.sysv[23]86.  Main releases:
  254.  
  255.          - System III (1982): first commercial Unix from AT&T
  256.            - FIFOs (named pipes)  (later?)
  257.  
  258.          - System V (1983):
  259.            - IPC package (shm, msg, sem)
  260.  
  261.          - SVR2 (1984):
  262.            - shell functions (sh)
  263.            - SVID (System V Interface Definition)
  264.  
  265.          - SVR3 (1986) for ? platforms:
  266.            - STREAMS (inspired by V8), poll(), TLI (network software)
  267.            - RFS
  268.            - shared libs
  269.            - SVID 2
  270.            - demand paging (if hardware supports)
  271.  
  272.          - SVR3.2:
  273.            - merge with Xenix (Intel 80386)
  274.            - networking
  275.  
  276.          - SVR4 (1988), mainstream of Unix implementations, merge of
  277.            System V, BSD, and SunOS.
  278.            - From SVR3: sysadmin, terminal I/F, printer (from BSD?),
  279.              RFS, STREAMS, uucp
  280.            - From BSD: FFS, TCP/IP, sockets, select(), csh
  281.            - From SunOS: NFS, OpenLook GUI, X11/NeWS, virtual memory
  282.              subsystem with memory-mapped files, shared libraries
  283.              (!= SVR3 ones?)
  284.            - ksh
  285.            - ANSI C
  286.            - Internationalization (8-bit clean)
  287.            - ABI (Application Binary Interface -- routines instead of traps)
  288.            - POSIX, X/Open, SVID3
  289.  
  290.          - SVR4.1
  291.            - async I/O (from SunOS?)
  292.  
  293.          - SVR4.2 (based on SVR4.1ES)
  294.            - Veritas FS, ACLs
  295.            - Dynamically loadable kernel modules
  296.  
  297.          - Future:
  298.            - SVR4 MP (multiprocessor)
  299.            - Use of Chorus microkernel?
  300.  
  301.       Berkeley Software Distribution (BSD).  Typical of VAXen, RISCs,
  302.          many workstations.  More dynamic, research versions now than
  303.          System V.  BSD is responsible for much of the popularity of
  304.          Unix.  Most enhancements to Unix started here.  The group
  305.          responsible at UCB (University of California at Berkeley) is
  306.          the Computer System Research Group (CSRG).  They closed down
  307.          in 1992.  Newsgroup: comp.unix.bsd.  Main releases:
  308.  
  309.          (much reorganized wrt dates and releases, hope it's converging)
  310.  
  311.          - 2.xBSD (1978) for PDP-11, still of significance? (2.11BSD
  312.            was released in 1992!).
  313.            - csh
  314.  
  315.          - 3BSD (1978):
  316.            - virtual memory
  317.  
  318.          - 4.?BSD:
  319.            - termcap, curses
  320.            - vi
  321.  
  322.          - 4.0BSD (1980):
  323.  
  324.          - 4.1BSD (?): base of later AT&T CRG versions
  325.            - job control
  326.            - automatic kernel config
  327.            - vfork()
  328.  
  329.          - 4.2BSD (1983):
  330.            - TCP/IP, sockets, ethernet
  331.            - UFS: long file names, symbolic links
  332.            - new reliable signals (4.1 reliable signals now in SVR3)
  333.            - select()
  334.  
  335.          - 4.3BSD (1986) for VAX, ?:
  336.          - 4.3 Tahoe (1988): 4.3BSD with sources, support for Tahoe
  337.            (32-bit supermini)
  338.            - Fat FFS
  339.            - New TCP algorithms
  340.          - 4.3 Reno (1990) for VAX, Tahoe, HP 9000/300:
  341.            - most of P1003.1
  342.            - NFS (from Sun)
  343.            - MFS (memory file system)
  344.            - OSI: TP4, CLNP, ISODE's FTAM, VT and X.500;  SLIP
  345.            - Kerberos
  346.  
  347.          - Net1 (?) and Net2 (June 1991) tapes: that portion of BSD which
  348.            requires no USL copyright
  349.  
  350.          - 4.4BSD (alpha June 1992) for HP 9000/300, Sparc, 386, DEC, others;
  351.            neither VAX nor Tahoe; two versions, lite (~Net2 contents plus,
  352.            fixes and new architectures) and encumbered (everything, requires
  353.            USL license):
  354.            - new virtual memory system (VMS) based on Mach 2.5
  355.            - virtual filesystem interface, log-structured filesystem, size
  356.              of local filesystem up to 2^63, NFS (freely redistributable,
  357.              works with Sun's, over UDP or TCP)
  358.            - ISO/OSI networking support (based on ISODE): TP4/CLNP/802.3 and
  359.              TP0/CONS/X.25, session and above in user space;  FTAM, VT, X.500.
  360.            - most of POSIX.1 (esp. new terminal driver a la SV), much of
  361.              POSIX.2, improved job control; ANSI C headers
  362.            - Kerberos integrated with much of the system (incl. NFS)
  363.            - TCP/IP enhancements (incl. header prediction, SLIP)
  364.            - important kernel changes (new system call convention, ...)
  365.            - other improvements: FIFOs, byte-range file locking
  366.            Official 4.4BSD release was expected within 6 months of above.
  367.  
  368.       The Open Software Foundation (OSF) released its Unix called OSF/1
  369.          end of 1991.  Still requires an SVR2 license.
  370.          Compatible/compliant with SVID 2 (and 3 coming), POSIX,
  371.          X/Open, etc..  OSF members include Apollo, Dec, HP, IBM, ....
  372.  
  373.          - OSF/1 (1991):
  374.            - based on Mach 2.5 kernel
  375.            - symmetric multiprocessing, parallelized kernel, threads
  376.            - logical volumes, disk mirroring, UFS (native), S5 FS, NFS
  377.            - enhanced security (B1 with some B2, B3; or C2), 4.3BSD admin
  378.            - STREAMS, TLI/XTI, sockets
  379.            - shared libs, dynamic loader (incl. kernel)
  380.            - Motif GUI
  381.  
  382.          - Release 1.3 (Jun 94)
  383.            - Based on MACH 3.0 Micro-kernel
  384.            - Conformant with current draft of Specification 1170
  385.              (considered for standardization in X/Open's Fast Track process)
  386.            - Data Capture I/F, Common Data Link I/F,
  387.            - ISO 10646 and 64-bit support.
  388.            - OSF/1 MK (mikrokernel) based on Mach 3.0
  389.  
  390.       This list of major flavors should probably also include Xenix
  391.       (Microsoft) which has been the basis for many ports.  Derived from V7,
  392.       S III and finally System V, it is similar externally but significantly
  393.       changed internally (performance-tuned for micros).
  394.  
  395.  
  396.       Two very good books describe the internals of the two main flavors.
  397.       These are:
  398.       - System V: "Design of the Unix Operating SYstem", M.J. Bach.
  399.       - BSD: "Design and Implementation of the 4.3BSD Unix Operating System",
  400.         Leffler, McKusick, Karels, Quaterman.
  401.       For a good introduction to OSF/1 (not quite as technical as the
  402.       previous two), see: "Guide to OSF/1, A Technical Synopsis",
  403.       published by O'Reilly.  On SunOS, "Virtual Memory Architecture in
  404.       SunOS" and "Shared Libraries in SunOS" in Summer 1989 USENIX
  405.       Proceedings.
  406.  
  407.       A good set of articles on where Unix is going is "Unix Variants"
  408.       in the Apr 92 issue of Unix Review.  Other good sources of
  409.       information include the bsd-faq file, and many of the newsgroups
  410.       mentioned in the text.
  411.  
  412. ------------------------------
  413.  
  414. Subject: Unix Standards.
  415. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  416. Date: Mon May 30 15:44:28 EDT 1994
  417. X-Version: 2.6
  418.  
  419. 6.4)  Unix Standards.
  420.  
  421.       This section briefly describes the more important standards
  422.       relevant to Unix.
  423.  
  424.       - IEEE:
  425.         - 802.x (LAN) standards (LLC, ethernet, token ring, token bus)
  426.         - POSIX (ISO 9945?): Portable Operating System I/F (Unix, VMS
  427.           and OS/2!) (only ? have been finalized at this point)
  428.           - 1003.1:  library procedures (mostly system calls) -- roughly V7
  429.                      except for signals and terminal I/F (1990)
  430.           - 1003.2:  shell and utilities
  431.           - 1003.3:  test methods and conformance
  432.           - 1003.4:  real-time: binary semaphores, process memory
  433.                      locking, memory-mapped files, shared memory,
  434.                      priority scheduling, real-time signals, clocks and
  435.                      timers, IPC message passing, synchronized I/O,
  436.                      asynchronous I/O, real-time files
  437.           - 1003.5:  Ada language bindings
  438.           - 1003.6:  security
  439.           - 1003.7:  system admin (incl. printing)
  440.           - 1003.8:  transparent file access
  441.           - 1003.9:  FORTRAN language bindings
  442.           - 1003.10: super computing
  443.           - 1003.12: protocol-independent I/Fs
  444.           - 1003.13: real-time profiles
  445.           - 1003.15: supercomputing batch I/Fs
  446.           - 1003.16: C-language bindings (?)
  447.           - 1003.17: directory services
  448.           - 1003.18: POSIX standardized profile
  449.           - 1003.19: FORTRAN 90 language bindings
  450.  
  451.       - X/Open (consortium of vendors, founded 1984):
  452.         - X/Open Portability Guides (XPGn):
  453.           - XPG2 (1987), strong SV influence
  454.             Vol 1:  commands and utilities
  455.             Vol 2:  system calls and libraries
  456.             Vol 3:  terminal I/F (curses, termio), IPC (SV),
  457.                     internationalization
  458.             Vol 4:  programming languages (C, COBOL!)
  459.             Vol 5:  data management (ISAM, SQL)
  460.           - XPG3 (1989) adds: X11 API
  461.           - XPG4 (1992) adds: XTI?   22 components
  462.         - XOM series of interfaces:
  463.           - XOM (X/Open Object Management) generic I/F mechanisms for
  464.             following
  465.           - XDS (X/Open Directory Service)
  466.           - XMH (X/Open Mail ??)
  467.           - XMP (X/Open Management Protocols) -- not Bull's CM API?
  468.         - X/Open now has the rights to the "UNIX" trademark (late 93);
  469.         - "Spec 1170"
  470.           - This specification is being prepared describing a common API
  471.             which vendors wanting to use the name "UNIX" will have to comply
  472.             to (when test suites are available). Merge of SVID, OSF's AES
  473.             and other stuff.
  474.  
  475.       - AT&T
  476.         - System V Interface Definition (SVID)
  477.           - SVID1 (1985, SVR2)
  478.             Vol 1:  system calls and libraries (similar to XPG2.1)
  479.           - SVID2 (1986, SVR3)
  480.             Vol 1:  system calls and libraries (base, kernel extensions)
  481.             Vol 2:  commands and utilities (base, advanced, admin, software
  482.                     development), terminal I/F
  483.             Vol 3:  terminal I/F (again), STREAMS and TLI, RFS
  484.           - SVID3 (19??, SVR4) adds
  485.             Vol 4:  ??  &c
  486.         - APIs
  487.           - Transport Library Interface (TLI)
  488.           - ACSE/Presentation Library Interface (APLI)
  489.  
  490. ------------------------------
  491.  
  492. Subject: Identifying your Unix flavor.
  493. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  494. Date: Mon May 30 15:44:28 EDT 1994
  495. X-Version: 2.6
  496.  
  497. 6.5)  Identifying your Unix flavor.
  498.  
  499.       This section lists a number of things you can look at in
  500.       attempting to identify the base flavor of your Unix.  Given the
  501.       significant exchange of code and ideas between the various
  502.       flavors and the many changes made by vendors, any statement such
  503.       as "this Unix is an SVR2" is at best a statistical statement
  504.       (except for some SVRn ports).  Also many Unices offer most of
  505.       both worlds (either mixed as in SunOS or strictly separated as in
  506.       Apollo?).  So this section is perhaps not very useful...
  507.  
  508.       The list of features in previous sections can also help.  For
  509.       example, if a system has a poll(2) but no select(2), it is highly
  510.       probable that it is derived from SVR3.  Also the name of the OS
  511.       can provide a clue, as well as the logon message (e.g.  SGI's
  512.       "IRIX SVR3.3.2") or the output of "uname -a" command.  Available
  513.       commands can also provide hints but this is probably less
  514.       reliable than kernel features.  For example, the type of terminal
  515.       initialization (inittab or ttys) is a more reliable indicator
  516.       than the print subsystem.
  517.  
  518.       Feature           Typical in SVRx         Typical in xBSD
  519.  
  520.       kernel name       /unix                   /vmunix
  521.       terminal init     /etc/inittab            /etc/ttys (only getty to 4.3)
  522.       boot init         /etc/rc.d directories   /etc/rc.* files
  523.       mounted FSs       /etc/mnttab             /etc/mtab
  524.       usual shell       sh, ksh                 csh, #! hack
  525.       native FS         S5 (blk: 512-2K)        UFS (blk: 4K-8K)
  526.                         file names <= 14 bytes  file names < 255 bytes
  527.       groups            need newgrp(1)          automatic membership
  528.                         SVR4: multiple groups
  529.       print subsystem   lp, lpstat, cancel      lpr, lpq, lprm (lpd daemon) ??
  530.       terminal control  termio, terminfo,       termios (sgtty before 4.3reno)
  531.                         SVR4: termios (POSIX)   termcap
  532.       job control       >= SVR4                 yes
  533.       ps command        ps -ef                  ps -aux
  534.       multiple wait     poll                    select
  535.       string fcns       memset, memcpy          bzero, bcopy
  536.       process mapping   /proc  (SVR4)
  537.  
  538. ------------------------------
  539.  
  540. Subject: Brief notes on some well-known (commercial/PD) Unices.
  541. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  542. Date: Mon May 30 15:44:28 EDT 1994
  543. X-Version: 2.6
  544.  
  545. 6.6)  Brief notes on some well-known (commercial/PD) Unices.
  546.  
  547.       (I am not at all satisfied with this section, unfortunately I
  548.       have neither the time nor the documents to make it much better
  549.       (wrt contents).  Should only list Unices known by a reasonably
  550.       wide audience.  Small and non-US Unices welcome, e.g. Eurix.  In
  551.       need of reformatting)
  552.  
  553.       This section lists (in alphabetical order) some of the better
  554.       known Unices along with a brief description of their nature.
  555.       Unfortunately, it's out-of-date almost by definition...
  556.  
  557.       (sorted alpha, ignoring numbers and other chars)
  558.  
  559.       AIX:  IBM's Unix, based on SVR2 (later up to SVR3.2?) with varying
  560.          degrees of BSD extensions, for various hardwares.  Proprietary
  561.          system admin (SMIT).  Both 850 and Latin-1 CPs.  Quite
  562.          different from most Unices and among themselves.
  563.          Newsgroup: comp.unix.aix.
  564.          - 1.x (for 386 PS/2)
  565.          - 2.x (for PC RTs)
  566.          - 3.x (for RS/6000), paging kernel, logical volume manager, i18n;
  567.            3.2 adds TLI/STREAMS.  SV-based with many enhancements.
  568.          - AIX/ESA, runs native on S/370 and S/390 mainframes, based on OSF/1.
  569.          AIX was to have been base for OSF/1 until Mach was chosen instead.
  570.          I hope this subsection is converging :-)
  571.  
  572.       AOS (IBM):  4.3BSD port to IBM PC RT (for educational institutes).
  573.          Don't confuse with DG's proprietary OS of same name.
  574.  
  575.       Arix:  SV
  576.  
  577.       A/UX (Apple): SV with Berkeley enhancements, NFS, Mac GUI.  System 6
  578.          (later System 7) runs as guest of A/UX (opposite of MachTen).
  579.          Newsgroup: comp.unix.aux.
  580.          - 2.0:  SVR2 with 4.2BSD, system 6 Mac applications.
  581.          - 3.0 (1992): SVR2.2 with 4.3BSD and SVR3/4 extensions; X11R4,
  582.            MacX, TCP/IP, NFS, NIS, RPC/XDR, various shells, UFS or S5FS.
  583.            System 7 applications.
  584.          - 4.0 will have/be OSF/1.
  585.  
  586.       3B1 (680x0): SV-based, done by Convergent for AT&T.
  587.          Newsgroup: comp.sys.3b1.
  588.  
  589.       BNR/2: stands for BSD Net/2 Release? Includes NetBSD/1, FreeBSD.
  590.  
  591.       BOS for Bull's DPX/2 (680x0)
  592.          - V1 (1990): SVR3 with BSD extensions (FFS, select, sockets),
  593.            symmetric MP, X11R3
  594.          - V2 (1991): adds job control, disk mirroring, C2 security,
  595.            DCE extensions
  596.  
  597.       386BSD: Jolitz's port of Net/2 software.  Posix, 32-bit, still in alpha
  598.          (now version 0.1).
  599.  
  600.       BSD/386 (80386):  from BSDI, with source (augmented Net2 software)
  601.          Newsgroup: comp.unix.bsd.
  602.  
  603.       Chorus/MiXV:  Unix SVR3.2 (SVR4) over Chorus nucleus, ABI/BCS.
  604.  
  605.       Coherent (80286):  Unix clone compatible with V7, some SVR2 (IPC).
  606.          V4.0 is 32-bit.  Newsgroup: comp.os.coherent
  607.  
  608.       Consensys: SVR4.2
  609.  
  610.       CTIX: SV-based, from Convergent
  611.  
  612.       D-NIX:  SV
  613.  
  614.       DC/OSx (Pyramid):  SVR4.
  615.  
  616.       DELL UNIX [DELL Computer Corp.]: SVR4
  617.  
  618.       DomainIX: see DomainOS below.
  619.  
  620.       DomainOS (Apollo, now HP): proprietary OS; layered on top is BSD4.3 and
  621.          SVR3 (a process can use either, neither or both).  Development now
  622.          stopped, some features now in OSF/1 (and NT).  Now at SR10.4.
  623.          Name for SR9.* was DomainIX.  Newsgroup: comp.sys.apollo.
  624.  
  625.       DVIX (NT's DVS):  SVR2
  626.  
  627.       DYNIX (Sequent): 4.2BSD-based
  628.  
  629.       DYNIX/PTX: SVR3-based
  630.  
  631.       Esix (80386):  pure SVR4, X11, OpenLook (NeWS), Xview
  632.  
  633.       Eurix (80?86):  SVR3.2 (Germany)
  634.  
  635.       FreeBSD: 386bsd 0.1 with the patchkit applied, and many updated
  636.          utilities.
  637.  
  638.       FTX: Stratus fault-tolerant OS (68K or i860-i960 hardware)
  639.  
  640.       Generics UNIX (80386): SVR4.03 (Germany)
  641.  
  642.       GNU Hurd (?):  vaporware from the Free Software Foundation (FSF):
  643.          Unix emulator over Mach 3.0 kernel.  Many GNU tools are very
  644.          popular (emacs) and used in the PD Unices.
  645.  
  646.       HP-UX (HP):  old from S III (SVRx), now SVR2 (4.2BSD?) with SV utilities
  647.          (they have trouble making up their minds).
  648.          - 6.5: SVR2
  649.          - 7.0: SVR3.2, symlinks
  650.          - 7.5
  651.          - 8.0: BSD based? for HP-9000 CISC (300/400) and RISC (800/700),
  652.            shared libs
  653.          - 9.0: includes DCE
  654.  
  655.       Interactive SVR3.2 (80x86): pure SVR3.  Interactive has been bought
  656.          by Sun; will their system survive Solaris?
  657.  
  658.       Idris:  first Unix clone by Whitesmith.
  659.          - 4D
  660.  
  661.       IRIX (SGI):  Version 4: SVR3.2, much BSD.  Version 5.x (current is 5.2)
  662.          is based on SVR4.  Newsgroup: comp.sys.sgi.
  663.  
  664.       Linux (386/486/586): Unix under GPL (not from FSF, though).  Available
  665.         with sources.  POSIX compliant w/ SysV and BSD extensions.  Being
  666.         ported to ALPHA and PowerPC (ports for 680x0 Amigas and Ataris
  667.         already exist). Newsgroup: comp.os.linux.
  668.  
  669.       MachTen, Tenon Intersystems:  runs as a guest of System 6, no memory
  670.          protection, 4.3BSD environment with TCP, NFS.
  671.  
  672.       MacMach (Mac II): 4.3BSD over Mach 3.0 microkernel, X11, Motif, GNU
  673.          software, sources, experimental System 7 as Mach task.  Complete
  674.          with all sources (need Unix license).
  675.  
  676.       Mach386: from Mt Xinu.  Based on Mach 2.5, with 4.3BSD-Tahoe
  677.          enhancements.  Also 2.6 MSD (Mach Source Distribution).
  678.  
  679.       Microport (80x86):  pure SVR4, X11, OpenLook GUI
  680.  
  681.       Minix (80x86, Atari, Amiga, Mac):  Unix clone compatible with V7.
  682.          Sold with sources.  Being POSIXified (sp?).  Newsgroup: comp.os.minix.
  683.  
  684.       MipsOS:  SVish (RISC/OS, now dropped, was BSDish)
  685.  
  686.       more/BSD (VAX, HP 9000/300):  Mt Xinu's Unix, based on 4.3BSD-Tahoe.
  687.          Newsgroup: comp.os.xinu?
  688.  
  689.       NCR UNIX: SVR4 (4.2?)
  690.  
  691.       Net/2 tape (from Berkeley, 1991): BSD Unix, essentially compatible with
  692.          4.3BSD, includes only sources free of AT&T code, no low-level code.
  693.          See 386BSD and BSD/386 above.
  694.  
  695.       NetBSD 0.8: is actually 386bsd in a new suit. Ported to [34]86, MIPS,
  696.          Amiga, Sun, Mac. What is relation to Net/2?
  697.  
  698.       NextStep (Next):  BSD4.3 over Mach kernel, own GUI.
  699.          - 1.x, 2.0, 2.1
  700.          - 2.2 (support for NeXT Turbo machines)
  701.          - 3.0 (optimized for 68040 machines), 3.1
  702.          - 3.2 (current; 3.3 summer 94, 3.4 rumored)
  703.          - NS/i (NeXTSTEP/Intel) for Intel platform
  704.          - other ports: one for HP workstations, and OpenStep (NeXT venture
  705.            with Sun attempting to create a cross-platform standard for objects)
  706.  
  707.       NEWS-OS (Sony)
  708.          - 3.2
  709.  
  710.       OSF/1 (DEC): DEC's port of OSF/1.  I think this is now (4/93) available
  711.          on DEC's latest Alpha AXP (64-bit machine).
  712.  
  713.       OSx (Pyramid): Dualport of both SysV.3 and BSD4.3.
  714.  
  715.       PC-IX (IBM 8086):  SV
  716.  
  717.       Plan 9 (AT&T): announced 1992, complete rewrite, not clear how close to
  718.          Unix it is.  Key points: distributed, very small, various hardwares
  719.          (Sun, Mips, Next, SGI, generic hobbit, 680x0, PCs), C (not C++ as
  720.          rumors had it), new compiler, "8 1/2" window system (also very
  721.          small), 16-bit Unicode, CPU/file servers over high speed nets.
  722.  
  723.       PowerOpen: announced Unix which is to run on the PowerPC chip (from
  724.          IBM, Apple and Motorola).  Mac UI, compatibility to AIX.
  725.  
  726.       SCO Xenix (80x86): Versions for XT (not robust!), 286, 386 (with demand
  727.          paging).  Today bulk of code is from System V.  Stable product.
  728.  
  729.       SCO Unix (80x86):  SVR3.2
  730.  
  731.       Sinix [Siemens]: System V base.
  732.  
  733.       Solaris (Sparc, 80386):
  734.          - 1.0:  essentially same as SunOS 4.1.1, with OpenWindows 2.0 and
  735.            DeskSet utilities.
  736.          - 1.0.1:  SunOS 4.1.2 with multiprocessing (kernel not multithreaded);
  737.            not for 386
  738.          - 2.0: (initially announced as SunOS 5.0 in 1988) based on SVR4
  739.            (with symmetric MP?), will include support for 386; with
  740.            OpenWindows 3.0 (X11R4) and OpenLook, DeskSet, ONC, NIS.  Both
  741.            a.out (BSD) and elf (SVR4) formats.  Kerberos support.  Compilers
  742.            unbundled!
  743.  
  744.       SunOS (680x0, Sparc, i386):  based on 4.3BSD, includes much from
  745.          System V.  Main Sun achievements: NFS (1984), SunView (1985), NeWS
  746.          (1986, postscript imaging, now in OpenWindows), OpenLook GUI standard,
  747.          OpenWindows (NeWS, X11, SunView!).  Newsgroup: comp.sys.sun.*.
  748.          - 3.x:  SV IPC package, FIFOs
  749.          - 4.0.3: lightweight processes, new virtual mem, shared libs
  750.          - 4.1: STREAMS & TLI, 8-bit clean?, async I/O, ms-dos file system
  751.          (continues as Solaris -- see above).
  752.  
  753.       UHC (80x86): pure SVR4, X11, Motif
  754.  
  755.       Ultrix (DEC):  based on 4.2BSD with much of 4.3.
  756.          Newsgroup: comp.unix.ultrix.
  757.          - 3.1, 4.0
  758.  
  759.       UNICOS (Cray):  System V base.  Newsgroup: comp.unix.cray
  760.          - 5.x, 6,x, 7.0
  761.  
  762.       UnixWare Release 4.2 [Univel]: SVR4.2.
  763.  
  764.       UTEK (Tektronix)
  765.          - 4.0
  766.  
  767.       Xenix (80x86):  1st Unix on Intel hardware, based on SVR2 (previously on
  768.          S III and even V7).  Newsgroup: comp.unix.xenix.
  769.  
  770. ------------------------------
  771.  
  772. Subject: Real-time Unices.
  773. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  774. Date: Mon May 30 15:44:28 EDT 1994
  775. X-Version: 2.6
  776.  
  777. 6.7)  Real-time Unices.
  778.  
  779.       WARNING: this section is badly in need of work. It's full of errors,
  780.       and it's incomplete. I hope to have time to look at it this winter
  781.       (was "this fall"). I doubt all of following are Unices -- input is
  782.       welcome. The list also includes more common Unices with real-time
  783.       features, and some non-Unix systems with Unix-like APIs. I don't
  784.       suppose the latter really belong here, but having collected some notes,
  785.       I'm hesitant to junk them. See also comp.realtime.
  786.  
  787.       Concurrent OS (Concurrent): real Unix, significantly modifed by
  788.          Concurrent.
  789.  
  790.       CX/UX: a real UNIX significantly modified by Harris to provide
  791.          real-time capabilities and performance. Compliant with POSIX.4 final
  792.          version.
  793.  
  794.       EP/LX (Control Data): port of LynxOS to R3000. Formerly called TC/IX.
  795.  
  796.       LynxOS (Lynx Real-Time Systems, Inc): Berkeley and SV compatibility,
  797.          ground-up rewrite (proprietary), predates SVR4. Is not UNIX, but
  798.          supports much of the UNIX I/Fs. Fully preemptive, fixed priorities.
  799.  
  800.       MiX: microkernel implementation of SVR4 offered by Chorus.
  801.  
  802.       Motorola SVR4 has real-time capabilities.
  803.  
  804.       QNX (Quantum Software): unix-compatible real real-time OS.
  805.  
  806.       RTU (Concurrent), for 68K boxes
  807.  
  808.       Solaris 2 has real-time capabilities?
  809.  
  810.       Stellix (Stardent); it's Unix, but is it real-time?
  811.  
  812.       Venix/386: Interactive SVR3.2 with real-time extensions.
  813.  
  814.       VMEexec (Motorola): not Unix, but also shares some I/Fs with Unix.
  815.  
  816.       VxWorks (Wind River Systems): Little in common with Unix, has some I/Fs
  817.          in common with Unix (but not the file system). Newsgroup:
  818.          comp.os.vxworks.
  819.  
  820.         (know nothing about)
  821.  
  822.       Convex RTS
  823.  
  824.       REAL/IX (AEG)
  825.  
  826.       Sorix (Siemens)
  827.  
  828.       System V/86 (Motorola)
  829.  
  830.       TC/IX (CCD)
  831.  
  832.       Velocity (Ready Systems):
  833.  
  834.  
  835. ------------------------------
  836.  
  837. Subject: Unix glossary.
  838. From: "Pierre (P.) Lewis" <lew@bnr.ca>
  839. Date: Mon May 30 15:44:28 EDT 1994
  840. X-Version: 2.6
  841.  
  842. 6.8)  Unix glossary.
  843.  
  844.       This section provides short definitions of various concepts and
  845.       components of (or related to) Unix systems.
  846.  
  847.       Chorus: message-passing microkernel, may form basis for a future release
  848.          of SV.  Chorus already have SVR4 running on top (binary-compatible).
  849.  
  850.       COSE (Common Open Software Environment) [Sun, HP, IBM]: common look and
  851.          feel (Motif), common API.  Reaction against Windows NT.
  852.  
  853.       DCE (Distributed Computing Environment, from OSF): Includes RPC (Apollo's
  854.          NCS), directory service (local based on DNS, global on X.500), time,
  855.          security, and threads services, DFS (distrib. file system), ....
  856.          OS-independent.
  857.  
  858.       DME (Distributed Management Environment, from OSF):  future.
  859.  
  860.       FFS (Fast File System): from Berkeley, 1983.  Equivalent (exact?) of
  861.          UFS in SunOS.  Has notions such as cylinder groups, fragments.
  862.  
  863.       Mach: modern kernels from CMU (Carnegie Mellon University) on which many
  864.          Unices and other OSs are based (e.g. OSF/1, MacMach, ...):
  865.          - 2.5: monolithic kernel with 4.2BSD
  866.          - 3.0: microkernel with BSD Unix server in user space (and other OSs,
  867.            e.g. MS-DOS)
  868.          Newsgroup: comp.os.mach
  869.  
  870.       MFS (Memory File System):
  871.  
  872.       NeWS (Network extensible Window System), from Sun?: PostScript-based,
  873.          networked, toolkits (and even clients) loaded in server.  Part of
  874.          OpenWindows.
  875.  
  876.       NFS (Network File System):  contributed by Sun to BSD, stateless server
  877.  
  878.       ONC (Open Network Computing): from Sun(?), includes RPC, name service
  879.          (NIS aka YP), NFS, ... (found in many Unices, other OSs).
  880.  
  881.       RFS (Remote File System):  SV, stateful server, incompatible with NFS
  882.  
  883.       RPC (Remote Procedure Call): high-level IPC (inter-process communication)
  884.          mechanism.  Two flavors.
  885.          - ONC: Over TCP or UDP (later OSI), uses XDR to encode data.
  886.          - DCE: has a different RPC mechanism (based on Apollo's NCS)
  887.  
  888.       S5 FS:  System V's native file system, blocks 512 to 2K.
  889.  
  890.       sockets:  BSD interface mechanism to networks (compare TLI).
  891.  
  892.       STREAMS:  a message-passing kernel mechanism, initially in SVR3, which
  893.          provides a very good interface for protocol development.
  894.  
  895.       TFS (Translucent File System): Sun, COW applied to files.
  896.  
  897.       TLI (Transport Library Interface):  SV's interface to transport services
  898.          (TCP, OSI).  UI has also defined an APLI (ACSE/Presentation Library
  899.          Interface)
  900.  
  901.       UFS (?): BSD's native file system as seen in SunOS, blocks 4K to 8K,
  902.          cylinder groups, fragments.
  903.  
  904.       XTI (X/Open Transport Interface):  TLI with enhancements
  905.  
  906.       X11: pixel-oriented window system from MIT.
  907.  
  908. ------------------------------
  909.  
  910. End of unix/faq Digest part 6 of 7
  911. **********************************
  912.  
  913. -- 
  914. Ted Timar - tmatimar@isgtec.com
  915. ISG Technologies Inc., 6509 Airport Road, Mississauga, Ontario, Canada L4V 1S7
  916.